import request from '@/utils/request'

export function fetchStanList() {
  return request({
    url: '/standard/list',
    method: 'get'
    // params: query
  })
}

export function fetchPage(query) {
  return request({
    url: '/standard/page',
    method: 'get',
    params: query
  })
}

export function delSta(data) {
  return request({
    url: '/standard/delete',
    method: 'delete',
    params: data
  })
}

export function updateSta(data) {
  return request({
    url: '/standard/update',
    method: 'put',
    params: data
  })
}

export function addSta(data) {
  return request({
    url: '/standard/add',
    method: 'put',
    params: data
  })
}
